package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverRechargePayMethod {
    unknown(0, "未知"),
    point(1, "积分"),
    wechat(2, "微信原生支付"),
    jy_wechat(3, "江阴农商行支付"),
    alipay(4, "支付宝"),
    unionpay(5, "云闪付"),
    saving(6, "余额");

    @EnumValue
    private final int code;
    private final String desc;

    DriverRechargePayMethod(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
